﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Presentation.Controllers
{
    public class ErrorController : Controller
    {
        //
        // GET: /Error/

        public ActionResult Index()
        {
            ViewBag.MessageErreur = "Index générale";
            return View();
        }

        public ActionResult NotFound()
        {
            ViewBag.MessageErreur = "Not found error";
            return View("Index");
        }

    }
}
